<?php

App::uses('AppModel', 'Model');

/**
 * ModuleSmsBroadcastListContact Model
 *
 * @property ModuleSmsBroadcastList $ModuleSmsBroadcastList
 * @property Member $Member
 */
class ModuleSmsBroadcastListFilter extends AppModel {

    /**
     * Use database config
     *
     * @var string
     */
    public $useDbConfig = 'organisations';

    /**
     * Display field
     *
     * @var string
     */
    public $displayField = 'name';


    //The Associations below have been created with all possible keys, those that are not needed can be removed

    /**
     * belongsTo associations
     *
     * @var array
     */
    public $belongsTo = array(
        'ModuleSmsBroadcastList' => array(
            'className' => 'ModuleSmsBroadcastList',
            'foreignKey' => 'module_sms_broadcast_list_id',
            'conditions' => '',
            'fields' => '',
            'order' => ''
        ),
        'Member' => array(
            'className' => 'Member',
            'foreignKey' => 'member_id',
            'conditions' => '',
            'fields' => '',
            'order' => ''
        )
    );

}
